package br.com.q7solucoes.lazerbrwebservicej.listener;

import br.com.q7solucoes.lazerbrwebservicej.control.WebXmlController;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Listener que ler os parametros do Web.XML.
 *
 * @author Elenilson Vieira - elenilson[at]q7solucoes.com.br
 * @since 27 de fevereiro de 2012
 * @version 1.0
 * @see www.q7solucoes.com.br
 */
public class LoadInitValuesListener implements ServletContextListener{

    public void contextInitialized(ServletContextEvent sce) {
        /*** Carrega os dados do Web.xml ***/
        WebXmlController.init(sce.getServletContext());
    }

    public void contextDestroyed(ServletContextEvent sce) {
        
    }
    
}
